package designPattern.state.vote2.state;

import designPattern.state.vote2.VoteManager;
import designPattern.state.vote2.VoteState;

public class NormalVoteState implements VoteState {

	@Override
	public void vote(String user, String voteItem, VoteManager manager) {
		manager.getMapVote().put(user, voteItem);
		System.out.println("投票成功！");
		manager.getMapState().put(user, new RepeatVoteState());
	}
}
